/*
 * Created on Jan 17, 2005
 */
package org.vectrics.security;

import org.vectrics.common.db.RecordObject;
import org.vectrics.user.UserPrivilegeType;

/**
 * @author mmoore
 */
public class ProtectedResourceUserPrivilege implements RecordObject {
	private Long id;
	private ProtectedResource protectedResource = null;
	private UserPrivilegeType userPrivilegeType = null;
	
	/**
	 * 
	 */
	public ProtectedResourceUserPrivilege() {
		super();
	}

	/**
	 * @return Returns the id.
	 */
	public Long getId() {
		return id;
	}
	/**
	 * @param id The id to set.
	 */
	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * @return Returns the protectedResource.
	 */
	public ProtectedResource getProtectedResource() {
		return protectedResource;
	}
	/**
	 * @param protectedResource The protectedResource to set.
	 */
	public void setProtectedResource(ProtectedResource protectedResource) {
		this.protectedResource = protectedResource;
	}
	
	
	/**
	 * @return Returns the userPrivilege.
	 */
	public UserPrivilegeType getUserPrivilegeType() {
		return userPrivilegeType;
	}
	/**
	 * @param userPrivilege The userPrivilege to set.
	 */
	public void setUserPrivilegeType(UserPrivilegeType userPrivilegeType) {
		this.userPrivilegeType = userPrivilegeType;
	}
}
